﻿@{
List<SelectListItem> l = new List<SelectListItem> {
new SelectListItem { Text = "启用", Value = "1",Selected = true},
new SelectListItem { Text = "禁用", Value = "0" },
new SelectListItem { Text = "全部", Value = "" } 
};
}
@Html.DropDownList("states", l)